#ifndef PRORPERTYGRIDPOPULATOR_H
#define PRORPERTYGRIDPOPULATOR_H

#include <wx/propgrid/propgrid.h>
#include "EditorCore/IEntity.h"

class PropertyGridPopulator
{
public:
	PropertyGridPopulator();
	~PropertyGridPopulator();

	void PopulateWithEntity( wxPropertyGrid* propertyGrid, editor_core::IEntity* entity );

private:
	void AppendProperty( wxPropertyGrid* propertyGrid, const editor_core::Property& property );
	void AppendChildProperty( wxPropertyGrid* propertyGrid, wxPGProperty* parentProperty, const editor_core::Property& property );
};

#endif
